<template>
    <div class="qf-good-item">
        <img src="/11.png" alt="">
        <div v-text='good.name'></div>
        <div>
            <span v-text='good.price'></span>
        </div>
    </div>
</template>
<script>
export default {
    props:{
        good:{
            type:Object,
            required:true
        }
    }
}
</script>
<style lang="scss" scope>
    .qf-good-item{
        width: 5rem;
        flex: 1;
        box-sizing:border-box;
        border: 0.026667rem solid rosybrown;
        font-size: 0.4rem;
        img{
            display: block;
            width: 5rem;
            height: 5rem;
        }
    }
</style>